﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OWE.Core.Domain.Security
{
   public class PermissionItem : BaseEntity
    {
        private ICollection<UserRole> _userRoles;

        public string Name { get; set; }

        public string SystemName { get; set; }

        public string Category { get; set; }

        public virtual ICollection<UserRole> CustomerRoles
        {
            get { return _userRoles ?? (_userRoles = new List<UserRole>()); }
            protected set { _userRoles = value; }
        }   
    }
}
